package com.wxq.day0419.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author wxq
 * @Date 2021/4/19
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    private String gname;
    private String gdescription;
    private double gprice;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date gdate;
}
